package com.pet.shop.service.room;

import com.pet.shop.entity.room.Hotel;
import com.pet.shop.entity.room.HotelTime;
import com.pet.shop.service.IBaseService;

import java.util.Date;
import java.util.List;

public interface IHotelService extends IBaseService<Hotel> {

    /**
     * 根据酒店编号返回时间段，并包括剩余的预定数量
     * @param hotelId
     * @param date
     * @return
     */
    List<HotelTime> queryHotelTime(Long hotelId, Date date);
}
